package com.ruoyi.common.core.domain.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 doc_file
 * 
 * @author ruoyi
 * @date 2021-12-05
 */
public class DocFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private DocFileManage docFileManage;


    /** 文件id */
    private Long fileId;

    /** 文件名字 */
    @Excel(name = "文件名字")
    private String fileName;

    /** 文件唯一标识 */
    @Excel(name = "文件唯一标识")
    private String fileUnique;

    /** url路径 */
    @Excel(name = "url路径")
    private String url;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 文件状态  0：未审核  1：审核通过  2：审核不通过 */
    @Excel(name = "文件路径")
    private Long fileState;

    /** 审核人 */
    @Excel(name = "审核人")
    private String updateBy;


    /** 文件备注 */
    @Excel(name = "文件备注")
    private String remark;

    /** 文件版本 */
    @Excel(name = "文件版本")
    private String versions;


    /** 文件版本 */
    @Excel(name = "文件版本")
    private String sysProinfoId;

    /** 文档ID */
    @Excel(name = "文档ID")
    private Long id;


    /** 上传人名字 */
    @Excel(name = "上传人名字")
    private String fileLoader;

    /** 逻辑删除 0：未删除 1：已删除 */
    @Excel(name = "逻辑删除")
    private Long delFlag;


    /** 文件密级 */
    @Excel(name = "文件密级")
    private String fileInformation;

    public String getFileInformation() {
        return fileInformation;
    }

    public void setFileInformation(String fileInformation) {
        this.fileInformation = fileInformation;
    }

    public DocFileManage getDocFileManage() {
        return docFileManage;
    }

    public void setDocFileManage(DocFileManage docFileManage) {
        this.docFileManage = docFileManage;
    }



    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date upTime;

    public Date getUpTime() {
        return upTime;
    }

    public void setUpTime(Date upTime) {
        this.upTime = upTime;
    }

    public String getVersions() {
        return versions;
    }

    public void setVersions(String versions) {
        this.versions = versions;
    }

    public Long getFileState() {
        return fileState;
    }

    public void setFileState(Long fileState) {
        this.fileState = fileState;
    }

    @Override
    public String getUpdateBy() {
        return updateBy;
    }

    @Override
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFileLoader() {
        return fileLoader;
    }

    public void setFileLoader(String fileLoader) {
        this.fileLoader = fileLoader;
    }

    public Long getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Long delFlag) {
        this.delFlag = delFlag;
    }

    public void setFileId(Long fileId)
    {
        this.fileId = fileId;
    }

    public Long getFileId() 
    {
        return fileId;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFileUnique(String fileUnique) 
    {
        this.fileUnique = fileUnique;
    }

    public String getFileUnique() 
    {
        return fileUnique;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }


    @Override
    public String toString() {
        return "DocFile{" +
                "fileId=" + fileId +
                ", fileName='" + fileName + '\'' +
                ", fileUnique='" + fileUnique + '\'' +
                ", url='" + url + '\'' +
                ", filePath='" + filePath + '\'' +
                ", fileState='" + fileState + '\'' +
                ", updateBy='" + updateBy + '\'' +
                ", remark='" + remark + '\'' +
                ", versions='" + versions + '\'' +
                ", id='" + id + '\'' +
                ", fileLoader='" + fileLoader + '\'' +
                ", delFlag='" + delFlag + '\'' +
                ", upTime='" + upTime + '\'' +
                ", fileInformation='" + fileInformation + '\'' +
                '}';
    }
}
